package ioc05;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Author：汤小洋
 * Date：2022-11-22 15:57
 * Description：<描述>
 */
public class Test {
    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("ioc05/spring.xml");
        System.out.println(ac);
        System.out.println(ac.getBean("springBean"));

        System.out.println("-----------------------------------------------");

        MyUtil.showName();
    }
}
